import keyword

def is_valid_variable_name(name):
    return name.isidentifier() and not keyword.iskeyword(name)
names = ["hello", "2world", "if"]

for name in names:
    print(f"'{name}': {is_valid_variable_name(name)}")